<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>UCARPP: includes/edgeIDEvaluator.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">UCARPP
   &#160;<span id="projectnumber">1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('edgeIDEvaluator_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">includes/edgeIDEvaluator.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="edgeID_8h_source.html">edgeID.h</a>&quot;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for edgeIDEvaluator.h:</div>
<div class="dyncontent">
<div class="center"><img src="edgeIDEvaluator_8h__incl.png" border="0" usemap="#includes_2edgeIDEvaluator_8h" alt=""/></div>
<map name="includes_2edgeIDEvaluator_8h" id="includes_2edgeIDEvaluator_8h">
<area shape="rect" id="node3" href="edgeID_8h.html" title="edgeID.h" alt="" coords="97,83,172,112"/></map>
</div>
</div>
<p><a href="edgeIDEvaluator_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="edgeIDEvaluator_8h.html#a73818cc525e81fd4c3be3579ae0f14e4">EdgeIDEvaluator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="edgeIDEvaluator_8h.html#a1a14ea23b60b8643f3ee02bd290f4f76">initEdgeIDEvaluator</a> (int i, int j, int eval)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="edgeIDEvaluator_8h.html#a0e46a05753d0b739f50d82f26a59affe">freeEdgeIDEvaluator</a> (<a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a> obj)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="edgeIDEvaluator_8h.html#a13e5a77c229012d2356bb00d391d9470">printEdgeIDEvaluator</a> (FILE *f, <a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a> obj)</td></tr>
</table>
<hr/><h2>Typedef Documentation</h2>
<a class="anchor" id="a73818cc525e81fd4c3be3579ae0f14e4"></a><!-- doxytag: member="edgeIDEvaluator.h::EdgeIDEvaluator" ref="a73818cc525e81fd4c3be3579ae0f14e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a>  <a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>rappresenta un arco dotato di una particolare valutazione. Questa struttura viene prevalentemente utilizzata in swap.c, all'interno della generazione degli archi crossati per ordinare vari archi a seconda del costo temporale </p>

</div>
</div>
<a class="anchor" id="a4d7c65e74176177cc0164df506cc0552"></a><!-- doxytag: member="edgeIDEvaluator.h::PedgeIDEvaluator" ref="a4d7c65e74176177cc0164df506cc0552" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a>* <a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a0e46a05753d0b739f50d82f26a59affe"></a><!-- doxytag: member="edgeIDEvaluator.h::freeEdgeIDEvaluator" ref="a0e46a05753d0b739f50d82f26a59affe" args="(PedgeIDEvaluator obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="edgeIDEvaluator_8h.html#a0e46a05753d0b739f50d82f26a59affe">freeEdgeIDEvaluator</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a>&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>libera la memoria dalla presenza di obj</p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd><ul>
<li>obj non NULL </li>
</ul>
</dd></dl>
<dl class="post"><dt><b>Postcondition:</b></dt><dd><ul>
<li>eliminato l'istanza edge all'interno di obj </li>
<li>obj eliminato dalla memoria</li>
</ul>
</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>l'oggetto da deallocare </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1a14ea23b60b8643f3ee02bd290f4f76"></a><!-- doxytag: member="edgeIDEvaluator.h::initEdgeIDEvaluator" ref="a1a14ea23b60b8643f3ee02bd290f4f76" args="(int i, int j, int eval)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a> <a class="el" href="edgeIDEvaluator_8h.html#a1a14ea23b60b8643f3ee02bd290f4f76">initEdgeIDEvaluator</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>j</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>eval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>inizializza una nuova struttura di tipo <a class="el" href="structEdgeIDEvaluator.html">EdgeIDEvaluator</a></p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd><ul>
<li>i&lt;j</li>
</ul>
</dd></dl>
<dl class="post"><dt><b>Postcondition:</b></dt><dd><ul>
<li>campo edge inizilizzato in modo che sia uguale a quello (i;j) </li>
<li>valutation impostato ad eval </li>
<li>campo edge validato correttamente (i&lt;j)</li>
</ul>
</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>indica un estremo dell'arco </td></tr>
    <tr><td class="paramname">j</td><td>indica un estremo dell'arco </td></tr>
    <tr><td class="paramname">eval</td><td>indica la valutazione di questo arco </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>un riferimento ad un'istanza PedgeIDEvaluator </dd></dl>

</div>
</div>
<a class="anchor" id="a13e5a77c229012d2356bb00d391d9470"></a><!-- doxytag: member="edgeIDEvaluator.h::printEdgeIDEvaluator" ref="a13e5a77c229012d2356bb00d391d9470" args="(FILE *f, PedgeIDEvaluator obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="edgeIDEvaluator_8h.html#a13e5a77c229012d2356bb00d391d9470">printEdgeIDEvaluator</a> </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="edgeIDEvaluator_8h.html#a4d7c65e74176177cc0164df506cc0552">PedgeIDEvaluator</a>&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>stampa l'oggetto</p>
<dl class="pre"><dt><b>Precondition:</b></dt><dd><ul>
<li>f non NULL </li>
<li>obj non NULL</li>
</ul>
</dd></dl>
<dl class="post"><dt><b>Postcondition:</b></dt><dd><ul>
<li>in f e' stata scritta una rappresentazione di obj</li>
</ul>
</dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">f</td><td>il file su cui stampare </td></tr>
    <tr><td class="paramname">obj</td><td>l'oggetto da stampare </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="edgeIDEvaluator_8h.html">edgeIDEvaluator.h</a>      </li>

    <li class="footer">Generated on Wed Sep 4 2013 06:38:56 for UCARPP by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
